package com.buddy.syn.block._09;

public class ThreadA extends Thread {

    private Service service;
    private MyObject myObject;

    public ThreadA(Service service,MyObject myObject){
        super();
        this.service = service;
        this.myObject = myObject;
    }

    public void run(){
        service.methodA(myObject);
    }

}
